package com.auxgroup.jpush.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/7/31 19:10.
 */
@Component
@ConfigurationProperties(prefix = "jpush")
public class JpushConfig {
    private String appKey;
    private String masterSecret;

    public JpushConfig() {}

    public JpushConfig(String appKey, String masterSecret) {
        this.appKey = appKey;
        this.masterSecret = masterSecret;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getMasterSecret() {
        return masterSecret;
    }

    public void setMasterSecret(String masterSecret) {
        this.masterSecret = masterSecret;
    }
}
